﻿using System;

public abstract class Sensor
{
    public int timeStamp = 0;
    public bool updated = false;

    public abstract ushort[] Convert(ushort[] inValues);
    public abstract void updateValues(ushort[] inValues);

    public int getTimeStamp()
    {
        return this.timeStamp;
    }

    public void setTimeStamp(int inTime)
    {
        this.timeStamp = inTime;
    }

    public bool getUpdated()
    {
        return this.updated;
    }

    public void setUpdated(bool inUpdated)
    {
        this.updated = inUpdated;
    }

}
